package com.eshop.modules.mp.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;

@ApiModel(value = "YxArticleQueryVo对象", description = "文章管理表查询参数")
public class YxArticleQueryVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("文章管理ID")
    private Integer id;
    @ApiModelProperty("文章标题")
    private String title;
    @ApiModelProperty("文章作者")
    private String author;
    @ApiModelProperty("文章图片")
    private String imageInput;
    @ApiModelProperty("文章简介")
    private String synopsis;
    @ApiModelProperty("文章分享标题")
    private String shareTitle;
    @ApiModelProperty("文章分享简介")
    private String shareSynopsis;
    @ApiModelProperty("浏览次数")
    private String visit;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("原文链接")
    private String url;
    @ApiModelProperty("状态")
    private Boolean status;
    @ApiModelProperty("添加时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonProperty("addTime")
    private String createTime;
    @ApiModelProperty("文章内容")
    private String content;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getTitle() {
        return this.title;
    }
    
    public String getAuthor() {
        return this.author;
    }
    
    public String getImageInput() {
        return this.imageInput;
    }
    
    public String getSynopsis() {
        return this.synopsis;
    }
    
    public String getShareTitle() {
        return this.shareTitle;
    }
    
    public String getShareSynopsis() {
        return this.shareSynopsis;
    }
    
    public String getVisit() {
        return this.visit;
    }
    
    public Integer getSort() {
        return this.sort;
    }
    
    public String getUrl() {
        return this.url;
    }
    
    public Boolean getStatus() {
        return this.status;
    }
    
    public String getCreateTime() {
        return this.createTime;
    }
    
    public String getContent() {
        return this.content;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public void setAuthor(final String author) {
        this.author = author;
    }
    
    public void setImageInput(final String imageInput) {
        this.imageInput = imageInput;
    }
    
    public void setSynopsis(final String synopsis) {
        this.synopsis = synopsis;
    }
    
    public void setShareTitle(final String shareTitle) {
        this.shareTitle = shareTitle;
    }
    
    public void setShareSynopsis(final String shareSynopsis) {
        this.shareSynopsis = shareSynopsis;
    }
    
    public void setVisit(final String visit) {
        this.visit = visit;
    }
    
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
    
    public void setUrl(final String url) {
        this.url = url;
    }
    
    public void setStatus(final Boolean status) {
        this.status = status;
    }
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonProperty("addTime")
    public void setCreateTime(final String createTime) {
        this.createTime = createTime;
    }
    
    public void setContent(final String content) {
        this.content = content;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof YxArticleQueryVo)) {
            return false;
        }
        final YxArticleQueryVo other = (YxArticleQueryVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$sort = this.getSort();
        final Object other$sort = other.getSort();
        Label_0102: {
            if (this$sort == null) {
                if (other$sort == null) {
                    break Label_0102;
                }
            }
            else if (this$sort.equals(other$sort)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0139: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0139;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        Label_0176: {
            if (this$title == null) {
                if (other$title == null) {
                    break Label_0176;
                }
            }
            else if (this$title.equals(other$title)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$author = this.getAuthor();
        final Object other$author = other.getAuthor();
        Label_0213: {
            if (this$author == null) {
                if (other$author == null) {
                    break Label_0213;
                }
            }
            else if (this$author.equals(other$author)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$imageInput = this.getImageInput();
        final Object other$imageInput = other.getImageInput();
        Label_0250: {
            if (this$imageInput == null) {
                if (other$imageInput == null) {
                    break Label_0250;
                }
            }
            else if (this$imageInput.equals(other$imageInput)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$synopsis = this.getSynopsis();
        final Object other$synopsis = other.getSynopsis();
        Label_0287: {
            if (this$synopsis == null) {
                if (other$synopsis == null) {
                    break Label_0287;
                }
            }
            else if (this$synopsis.equals(other$synopsis)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$shareTitle = this.getShareTitle();
        final Object other$shareTitle = other.getShareTitle();
        Label_0324: {
            if (this$shareTitle == null) {
                if (other$shareTitle == null) {
                    break Label_0324;
                }
            }
            else if (this$shareTitle.equals(other$shareTitle)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$shareSynopsis = this.getShareSynopsis();
        final Object other$shareSynopsis = other.getShareSynopsis();
        Label_0361: {
            if (this$shareSynopsis == null) {
                if (other$shareSynopsis == null) {
                    break Label_0361;
                }
            }
            else if (this$shareSynopsis.equals(other$shareSynopsis)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$visit = this.getVisit();
        final Object other$visit = other.getVisit();
        Label_0398: {
            if (this$visit == null) {
                if (other$visit == null) {
                    break Label_0398;
                }
            }
            else if (this$visit.equals(other$visit)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$url = this.getUrl();
        final Object other$url = other.getUrl();
        Label_0435: {
            if (this$url == null) {
                if (other$url == null) {
                    break Label_0435;
                }
            }
            else if (this$url.equals(other$url)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0472: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0472;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$content = this.getContent();
        final Object other$content = other.getContent();
        if (this$content == null) {
            if (other$content == null) {
                return true;
            }
        }
        else if (this$content.equals(other$content)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof YxArticleQueryVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $sort = this.getSort();
        result = result * 59 + (($sort == null) ? 43 : $sort.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $title = this.getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        final Object $author = this.getAuthor();
        result = result * 59 + (($author == null) ? 43 : $author.hashCode());
        final Object $imageInput = this.getImageInput();
        result = result * 59 + (($imageInput == null) ? 43 : $imageInput.hashCode());
        final Object $synopsis = this.getSynopsis();
        result = result * 59 + (($synopsis == null) ? 43 : $synopsis.hashCode());
        final Object $shareTitle = this.getShareTitle();
        result = result * 59 + (($shareTitle == null) ? 43 : $shareTitle.hashCode());
        final Object $shareSynopsis = this.getShareSynopsis();
        result = result * 59 + (($shareSynopsis == null) ? 43 : $shareSynopsis.hashCode());
        final Object $visit = this.getVisit();
        result = result * 59 + (($visit == null) ? 43 : $visit.hashCode());
        final Object $url = this.getUrl();
        result = result * 59 + (($url == null) ? 43 : $url.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $content = this.getContent();
        result = result * 59 + (($content == null) ? 43 : $content.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "YxArticleQueryVo(id=" + this.getId() + ", title=" + this.getTitle() + ", author=" + this.getAuthor() + ", imageInput=" + this.getImageInput() + ", synopsis=" + this.getSynopsis() + ", shareTitle=" + this.getShareTitle() + ", shareSynopsis=" + this.getShareSynopsis() + ", visit=" + this.getVisit() + ", sort=" + this.getSort() + ", url=" + this.getUrl() + ", status=" + this.getStatus() + ", createTime=" + this.getCreateTime() + ", content=" + this.getContent() + ")";
    }
}
